/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sudoku;

import javax.swing.JFrame;

/**
 *
 * @author sabrina
 */
public class VistaController implements IController  {
    private Inicio i;
    private NivelYTamanio nyt;
    static String vista;
      
  
    @Override
        public void process(String model){ 
         vista=i.OpcionVista();
         nyt = new NivelYTamanio();
         nyt.setExtendedState(JFrame.MAXIMIZED_BOTH);
         i.setVisible(false);
         nyt.setVisible(true);          
                       
         }

     
    @Override
       public void setView(IView s) {
            this.i = (Inicio) s;             
}
}

